<div class='main-nav'>
    <nav>
        <a [routerLink]="['/']">Home</a>
        <a [routerLink]="['/about']">About </a>
        <a [routerLink]="['/github', 'angular']">Github Repos</a>
        <a [routerLink]="['/contact']"> Contact Us</a>
        <a [routerLink]="['/room']">路由</a>
    </nav>
</div>

<main>
    <router-outlet></router-outlet>
</main>






<footer>
    © 2016
</footer>